package com.tjsiqi.dao;

import com.tjsiqi.beans.PageQuery;
import com.tjsiqi.dto.SearchstRwdDto;
import com.tjsiqi.model.WxhntRWD;
import com.tjsiqi.model.WxhntRWDEXP;
import com.tjsiqi.model.WxhntRWDKey;
import com.tjsiqi.param.SearchstRwdParam;
import com.tjsiqi.param.SearchwxUnitsParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxhntRWDMapper {
    int deleteByPrimaryKey(WxhntRWDKey key);

    int insert(WxhntRWD record);

    int insertSelective(WxhntRWD record);

    WxhntRWD selectByPrimaryKey(WxhntRWDKey key);

    int updateByPrimaryKeySelective(WxhntRWD record);

    int updateByPrimaryKey(WxhntRWD record);

    int countBySearchDto(@Param("dto") SearchstRwdDto dto);

    List<WxhntRWD> getPageListBySearchDto(@Param("dto") SearchstRwdDto dto, @Param("page") PageQuery page);

    void acceptById(@Param("id") int id, @Param("status") String status);

    List<WxhntRWDEXP> getListBySearchDto(@Param("dto") SearchstRwdDto dto);

    int removeByParam(@Param("dto") SearchstRwdDto dto);
}